package com.city.project.factory;

import com.city.project.dao.IRoomDao;
import com.city.project.dao.IStudentDao;
import com.city.project.dao.IUserDao;
import com.city.project.dao.impl.RoomDaoImpl;
import com.city.project.dao.impl.StudentDaoImpl;
import com.city.project.dao.impl.UserDaoImpl;

public class DaoFactory {
     public static IUserDao getUserDao() {
     return new UserDaoImpl();
     }

     public static IRoomDao getRoomDao() {
          return new RoomDaoImpl();
     }

     public static IStudentDao getStudentDao() {
          return new StudentDaoImpl();
     }

}
